package com.qf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Set;

/*** @author xl
 * @version V1.0
 * @Project sms_platform
 * @Package com.qf.feign
 * @Description: ${TODO}
 *@Date 2022/8/27 22:02
 */
@FeignClient(value = "sms-platform-cache")
@RequestMapping("/cache")
public interface CacheFeign {
    //通配获取key集合
    @GetMapping("/keys/{key}")
    public Set<String> keys(@RequestParam(value = "key") String key);

}
